<?php
namespace App\Admin\Controllers;

use App\Admin\Forms\Domain;
use App\Admin\Forms\emailForm;
use App\Admin\Forms\RegForm;
use App\Admin\Forms\SconfForm;
use App\Admin\Forms\YpayForm;
use App\Admin\Forms\ZfForm;
use App\Admin\Metrics\Examples;
use App\Http\Controllers\Controller;
use Dcat\Admin\Http\Controllers\Dashboard;
use Dcat\Admin\Layout\Column;
use Dcat\Admin\Layout\Content;
use Dcat\Admin\Layout\Row;

class SettingController extends Controller
{
    public function conf(Content $content)
    {
        return $content
            ->header('系统设置')
            ->description('基础信息')
            ->body(new SconfForm());
    }
    public function zf(Content $content)
    {
        return $content
            ->header('域名转发')
            ->description('域名转发设置')
            ->body(new ZfForm());
    }
    public function domain(Content $content)
    {
        return $content
            ->header('短网址')
            ->description('短网址设置')
            ->body(new Domain());
    }
    public function ypay(Content $content)
    {
        return $content
            ->header('易支付')
            ->description('易支付设置设置')
            ->body(new YpayForm());
    }
    public function reg(Content $content)
    {
        return $content
            ->header('注册设置')
            ->description('用户注册设置')
            ->body(new RegForm());
    }

}
